SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 41347: An error occurs when you try to create metadata for DB2 columns with the TIMESTAMP data type

DetailsHotfixAboutRate It

The following error occurs when you try to create metadata for DB2 9.7 table column that uses the TIMESTAMP data type:

ERROR: CLI cursor extended fetch error: [IBM][CLI Driver][DB2/LINUXX8664]
SQL0180N  The syntax of the string representation of a datetime value is
incorrect.  SQLSTATE=22007

Prior to DB2 9.7, the DB2 TIMESTAMP data type could hold three digits of fractional seconds, for example, 12:34:56.123. With DB2 9.7, however, IBM increased the number of fraction seconds to 12 digits, which means that the SAS/ACCESS® Interface to DB2 engine needs to accomodate this change.

To circumvent this issue, use DB2 9.5 or another version prior to 9.7 that does not contain this change for the TIMESTAMP data type.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/ACCESS Interface to DB2Microsoft® Windows® for 64-Bit Itanium-based Systems9.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS2M09.3 TS1M0
Microsoft Windows XP 64-bit Edition9.2 TS2M09.3 TS1M0
Microsoft® Windows® for x649.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Standard Edition9.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 for x649.2 TS2M09.3 TS1M0
Microsoft Windows Server 2008 for x649.2 TS2M09.3 TS1M0
Microsoft Windows XP Professional9.2 TS2M09.3 TS1M0
Windows Vista9.2 TS2M09.3 TS1M0
Windows Vista for x649.2 TS2M09.3 TS1M0
64-bit Enabled AIX9.2 TS2M09.3 TS1M0
64-bit Enabled HP-UX9.2 TS2M09.3 TS1M0
64-bit Enabled Solaris9.2 TS2M09.3 TS1M0
HP-UX IPF9.2 TS2M09.3 TS1M0
Linux9.2 TS2M09.3 TS1M0
Linux for x649.2 TS2M09.3 TS1M0
Solaris for x649.2 TS2M09.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.